///////////////////////////////////////////////////////////////////////
//
//	created:	12/14/2012
//	filename: 	MHRand.h
//	author:		robertwan
//	-------------------------------------------------------------------
//	purpose:	random class
///////////////////////////////////////////////////////////////////////

#ifndef _H_MHRAND_H__
#define _H_MHRAND_H__

class CMHRand
{
public:
	CMHRand(void);
	~CMHRand(void);
	void srand(unsigned int nSeed,unsigned int nTimes = 0);
	unsigned int Rand();
	unsigned int GetRandomSeed() const;
	unsigned int GetRandomTimes() const{return m_nRandTimes;};
private:
	int m_nRandSeed;
	int m_nRandTimes;
};

#endif _H_MHRAND_H__